<?php $this->headScript()->captureStart()?>

function variable_init(){
	$.get("<?php echo $this->route('getparams')?>/id/"+sel_id,
		function(data){
			$("#module_variable").html(data);
		});
}

$(document).ready(function(){
	$('#setParamsForm').ajaxForm(function(data) {
		$("#variableMessage").show().fadeOut();
     });
 });
<?php $this->headScript()->captureEnd()?>

<form action="<?php echo  $this->route('setparams')?>" method="post" id="setParamsForm">
<div id="variableMessage" style="display: none;font-size: 13px;font-weight: bold;color:#f00">設定完成</div>
<div id="module_variable"></div>


</form>